<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .base{
            height: 200px;
            width: 200px;
        }
        .box1{
            background-color: red;
        }
        .box2{
            background-color: gold;
            position: relative;
            left: 500px;
            top: 0;
        }
        .box3{
            background-color: pink;
        }
    </style>
</head>
<body>
    <div class="base box1"></div>
    <div class="base box2"></div>
    <div class="base box3"></div>
</body>
</html>